package estagio.visao;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.UIManager;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.SystemColor;

@SuppressWarnings({ "unused", "serial" })
public class TelaCadastrarAluno extends JFrame {

	private JPanel contentPane;
	private JTextField textFieldSemestre;
	private JTextField textFieldEmail;
	private JTextField textFieldNome;
	private JTextField textFieldRga;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					TelaCadastrarAluno frame = new TelaCadastrarAluno();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public TelaCadastrarAluno() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 600, 500);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblCadastrarAluno = new JLabel("Cadastrar Aluno");
		lblCadastrarAluno.setForeground(UIManager.getColor("Button.shadow"));
		lblCadastrarAluno.setFont(new Font("Cambria", Font.PLAIN, 20));
		lblCadastrarAluno.setBounds(225, 11, 138, 24);
		contentPane.add(lblCadastrarAluno);
		
		JLabel lblRga = new JLabel("Rga:");
		lblRga.setForeground(UIManager.getColor("Button.shadow"));
		lblRga.setFont(new Font("Cambria", Font.PLAIN, 17));
		lblRga.setBounds(149, 142, 31, 21);
		contentPane.add(lblRga);
		
		JLabel lblNome = new JLabel("Nome:");
		lblNome.setForeground(UIManager.getColor("Button.shadow"));
		lblNome.setFont(new Font("Cambria", Font.PLAIN, 17));
		lblNome.setBounds(133, 194, 47, 21);
		contentPane.add(lblNome);
		
		JLabel lblEmail = new JLabel("E-mail:");
		lblEmail.setForeground(UIManager.getColor("Button.shadow"));
		lblEmail.setFont(new Font("Cambria", Font.PLAIN, 17));
		lblEmail.setBounds(128, 241, 52, 21);
		contentPane.add(lblEmail);
		
		JLabel lblSemestre = new JLabel("Semestre:");
		lblSemestre.setForeground(UIManager.getColor("Button.shadow"));
		lblSemestre.setFont(new Font("Cambria", Font.PLAIN, 17));
		lblSemestre.setBounds(110, 287, 70, 21);
		contentPane.add(lblSemestre);
		
		textFieldSemestre = new JTextField();
		textFieldSemestre.setColumns(10);
		textFieldSemestre.setBounds(190, 288, 237, 24);
		contentPane.add(textFieldSemestre);
		
		textFieldEmail = new JTextField();
		textFieldEmail.setColumns(10);
		textFieldEmail.setBounds(190, 238, 237, 24);
		contentPane.add(textFieldEmail);
		
		textFieldNome = new JTextField();
		textFieldNome.setColumns(10);
		textFieldNome.setBounds(190, 191, 237, 24);
		contentPane.add(textFieldNome);
		
		textFieldRga = new JTextField();
		textFieldRga.setColumns(10);
		textFieldRga.setBounds(190, 139, 237, 24);
		contentPane.add(textFieldRga);
		
		JButton btnSair = new JButton("Sair");
		btnSair.setForeground(SystemColor.controlDkShadow);
		btnSair.setFont(new Font("Cambria", Font.PLAIN, 17));
		btnSair.setBounds(60, 397, 115, 37);
		contentPane.add(btnSair);
		
		JButton btnMenu = new JButton("Menu");
		btnMenu.setForeground(SystemColor.controlDkShadow);
		btnMenu.setFont(new Font("Cambria", Font.PLAIN, 17));
		btnMenu.setBounds(249, 397, 115, 37);
		contentPane.add(btnMenu);
		
		JButton btnCadastrar = new JButton("Cadastrar");
		btnCadastrar.setForeground(SystemColor.controlDkShadow);
		btnCadastrar.setFont(new Font("Cambria", Font.PLAIN, 17));
		btnCadastrar.setBounds(436, 397, 115, 37);
		contentPane.add(btnCadastrar);
	}
}
